<!DOCTYPE html>
<html>
<head>
  <title>DVXT Library</title>
  <%= stylesheet_link_tag    "users" %>
  <%= javascript_include_tag "application" %>
  <%= csrf_meta_tags %>
</head>
<body>
<!------------------------------------------------------------------------------------------>
<div class="header_form">
	<h1>Welcome Administrator : <%= User.find_by_id(session[:user_id]).full_name %></h1>
</div>

<div class="logout_form">
	<%= button_to 'Logout', logout_path, method: :delete %>
	<br>
</div>

<!------------------------------------------------------------------------------------------>
<div class="body_form">
	
<h1>New user</h1>
<br>
<%= render 'form' %>

<%= link_to 'Back', users_path %>

</div>
</body>
